package user;

import Book.Booklist;
import operation.IOperation;

public abstract class Users {
    protected String name;//姓名
    public IOperation[] iOperations;//只是定义并没有初始化大小
    public Users(String name) {
        this.name = name;
    }
    public abstract int menu();//菜单
    public void doOperation(int choice, Booklist booklist){
        iOperations[choice].work(booklist);
    }
}
